# Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
# Contributor: Christoph W <c w e g e n e r at gmail dot com>

pkgname=python-ntlm-auth
_module='ntlm-auth'
pkgver=1.5.0
pkgrel=7
pkgdesc="Creates NTLM authentication structures"
url="https://github.com/jborean93/ntlm-auth"
depends=('python' 'python-six' 'python-cryptography')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jborean93/ntlm-auth/archive/v${pkgver}.tar.gz")
sha512sums=('cf08b23e49d45c528404b70b6be88f6c3edee9fd0d4584f3962931a08a0982cdad4089963a95aea911b6eb4db32a932536cf6d9c02c292cd447e0a9c6b3b802b')

build() {
    cd "${_module}-${pkgver}"
    python setup.py build
}

package() {
    cd "${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
